<!--
 * @Author: nns4
 * @Date: 2020-03-03 10:38:54
 * @LastEditors: nns4
 * @FilePath: /citciWechartShop/src/components/childView/childView.vue
 * @Description:  路由嵌套页面
 -->

<template>
  <keep-alive :include="getPageCache">
    <router-view />
  </keep-alive>
</template>
<script>
import { mapGetters } from "vuex";
export default {
  name: "childView",
  mounted() {
    // console.log(this.$route);
  },
  computed: {
    ...mapGetters(["getPageCache"])
  }
};
</script>
